Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Conversation

@anastasiyaig
Copy link
Collaborator

@anastasiyaig anastasiyaig commented Mar 13, 2024

Closes #585

CI run_1 full scope: https://ci.status.im/job/status-desktop/job/e2e/job/manual/1660/allure/
CI run_2 full scope: https://ci.status.im/job/status-desktop/job/e2e/job/manual/1662/console

Removed duplicated native click
Aligned click with left and right buttons to both using Qt buttons
Renamed a method of right clicking to be named like that
Removed unnecessary (?) extra click method in Button class

x or int(self.object.width * 0.1),
y or int(self.object.height * 0.1),

this is done to avoid clicking in the middle of the object, also these params must be int otherwise they are not accepted by mouseClick and then it is defaulted to click to the center of the object. We dont want to have that just because for some elements (like checkboxes) clicking in the center may lead to click any other element like link (see screenshot)

image

image

@anastasiyaig anastasiyaig force-pushed the chore/click branch 3 times, most recently from 24ca40e to 2df79f5 Compare March 13, 2024 19:05
@anastasiyaig anastasiyaig merged commit 3e3b20b into master Mar 14, 2024
@anastasiyaig anastasiyaig deleted the chore/click branch March 14, 2024 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve button click

2 participants